<!--<nz-spin [nzSpinning]="isSpinning">-->
    <form nz-form [formGroup]="validateForm">
        <nz-collapseset>
            <nz-collapse [nzTitle]="'基础信息'" [nzActive]="true" [nzDisabled]="false">
                <div nz-form-item nz-row>
                    <div nz-form-label nz-col [nzSm]="3" [nzXs]="3">
                        <label nz-form-item-required>报表名称</label>
                    </div>
                    <div nz-form-control nz-col [nzSm]="8" [nzXs]="8" nzHasFeedback >
                        <nz-input formControlName="reportName" name="reportName" [nzSize]="'large'" [(ngModel)]="customReport.reportName"></nz-input>
                    </div>
                </div>
              <div nz-form-item nz-row>
                <div nz-form-label nz-col [nzSm]="3" [nzXs]="3">
                  <label nz-form-item-required>参数是否为空</label>
                </div>
                <div nz-form-control nz-col [nzSm]="8" [nzXs]="8">
                  <nz-select formControlName="isNullParm" name="isNullParm" nzAllowClear [nzPlaceHolder]="'请选择'"  [nzShowSearch]="true" [nzSize]="'large'" [(ngModel)]="customReport.isNullParm">
                    <nz-option [nzLabel]="'是'" [nzValue]="'1'" [nzDisabled]="false">
                    </nz-option>
                    <nz-option [nzLabel]="'否'" [nzValue]="'0'" [nzDisabled]="false">
                    </nz-option>
                  </nz-select>
                </div>
              </div>


              <div nz-form-item nz-row>
                <div nz-form-label nz-col [nzSm]="3" [nzXs]="3">
                  <label nz-form-item-required>SQL语句</label>
                </div>
                <div nz-form-control nz-col [nzSm]="16" [nzXs]="16">
                  <nz-input formControlName="sqlSentence" name="sqlSentence" [(ngModel)]="customReport.sqlSentence" [nzRows]="9" [nzType]="'textarea'" [nzPlaceHolder]="'参数请用 ? 填充'" [nzSize]="'large'">
                  </nz-input>
                </div>
              </div>


            </nz-collapse>
        </nz-collapseset>
        <div nz-form-item nz-row style="margin-bottom:8px;">
            <div nz-form-control nz-col [nzSpan]="8" [nzOffset]="11">
                <button nz-button [nzSize]="'large'" [nzType]="'primary'" (click)="submitForm($event)">添加</button>
            </div>
        </div>
    </form>
<!--</nz-spin>-->
